package com.ruoyi.liangshi.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店开市信息对象 gd_arch_shift
 * 
 * @author ruoyi
 * @date 2023-11-18
 */
@Data
public class GdArchShift implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 早晚市编号 */
    private Long id;

    /** 早晚市名称 */
    @Excel(name = "早晚市名称")
    private String name;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 所属门店 */
    @Excel(name = "所属门店")
    private Long createShopId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("startTime", getStartTime())
            .append("createShopId", getCreateShopId())
            .toString();
    }
}
